//
//  ST_weakWrapper.swift
//  btvideo
//
//  Created by Jason on 2021/9/17.
//  Copyright © 2021 JarvanZhang. All rights reserved.
//

import Foundation




/**传递引用
 */
class WeakWrapper<T: AnyObject>  {
    weak var value : T?
    init (value: T) {
        self.value = value
    }
}

//extension Array where Element:Weak<AnyObject> {
//  mutating func reap () {
//    self = self.filter { nil != $0.value }
//  }
//}
